<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/commons/global.jsp" %>
<!DOCTYPE html>
<html>
<head>
    <title>上海市用电力负荷管理系统-主页</title>
    <%@ include file="/commons/basejs.jsp" %>
    <link rel="stylesheet" type="text/css" href="${staticPath }/static/style/css/main.css?v=${version}">
    <script type="text/javascript" src="${staticPath }/static/js/main.js?v=${version}"></script>
    
    <link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/icon.css">
	<link rel="stylesheet" type="text/css" href="${staticPath }/static/css/demo.css">
	<link rel="stylesheet" type="text/css" href="${staticPath }/static/css/ribbon.css">
	<link rel="stylesheet" type="text/css" href="${staticPath }/static/css/ribbon-icon.css">
	<%-- <script type="text/javascript" src="${staticPath }/static/json/jquery.min.js"></script>
	<script type="text/javascript" src="${staticPath }/static/json/jquery.easyui.min.js"></script> --%>
	<script type="text/javascript" src="${staticPath }/static/json/jquery.ribbon.js"></script>
	<style>
		div{
		font-size: 13;
		}
		.l-btn-text{
			font-size: 11;
		}
		.textbox .textbox-text{
			font-size: 5;
		}
		#tab_west1 span{
			font-size: 14;
		}
		#tab_content1 .l-btn-text{
			font-size: 17px;
		}
		.icon-format-sx{
			background:url('${staticPath }/static/image/ribbon_small.png') no-repeat 0 0;
		}
		.icon-format-dc{
			background:url('${staticPath }/static/image/ribbon_small.png') no-repeat 0 0;
			background-position:-16px 0px;
		}
		.icon-format-xcrz{
			background:url('${staticPath }/static/image/ribbon_small.png') no-repeat 0 0;
			background-position:-64px 0px;
		}
		.icon-format-czrz{
			background:url('${staticPath }/static/image/ribbon_small.png') no-repeat 0 0;
			background-position:-80px 0px;
		}
		.icon-format-csszrz{
			background:url('${staticPath }/static/image/ribbon_small.png') no-repeat 0 0;
			background-position:-96px 0px;
		}
		.icon-format-mbpz{
			background:url('${staticPath }/static/image/ribbon_small.png') no-repeat 0 0;
			background-position:-112px 0px;
		}
		.icon-xt-sd{
			background:url('${staticPath }/static/image/shortcuts_small.png') no-repeat 0 0;
			background-position: 0px 0px;
		}
		.icon-xt-qdpb{
			background:url('${staticPath }/static/image/shortcuts_small.png') no-repeat 0 0;
			background-position: -16px 0px;
		}
		.icon-xt-tc{
			background:url('${staticPath }/static/image/shortcuts_small.png') no-repeat 0 0;
			background-position: -32px 0px;
		}
		.icon-xt-mmsz{
			background:url('${staticPath }/static/image/shortcuts_small.png') no-repeat 0 0;
			background-position: -48px 0px;
		}
		.icon-xt-yhgl{
			background:url('${staticPath }/static/image/shortcuts_small.png') no-repeat 0 0;
			background-position: -64px 0px;
		}
		.icon-xt-qzdy{
			background:url('${staticPath }/static/image/shortcuts_small.png') no-repeat 0 0;
			background-position: -80px 0px;
		}
		.icon-xt-fady{
			background:url('${staticPath }/static/image/shortcuts_small.png') no-repeat 0 0;
			background-position: -96px 0px;
		}
		
		.icon-rc-bj{
			background:url('${staticPath }/static/image/home_small.png') no-repeat 0 0;
			background-position: -16px 0px;
		}
		.icon-rc-fs{
			background:url('${staticPath }/static/image/home_small.png') no-repeat 0 0;
			background-position: -32px 0px;
		}
		.icon-rc-zc{
			background:url('${staticPath }/static/image/home_small.png') no-repeat 0 0;
			background-position: -48px 0px;
		}
		.icon-rc-bbzc{
			background:url('${staticPath }/static/image/home_small.png') no-repeat 0 0;
			background-position: -64px 0px;
		}
		.icon-rc-gzmy{
			background:url('${staticPath }/static/image/home_small.png') no-repeat 0 0;
			background-position: -80px 0px;
		}
		.icon-rc-hhmy{
			background:url('${staticPath }/static/image/home_small.png') no-repeat 0 0;
			background-position: -96px 0px;
		}
		.icon-rc-sdfw{
			background:url('${staticPath }/static/image/home_small.png') no-repeat 0 0;
			background-position: -112px 0px;
		}
		.icon-rc-sjfw{
			background:url('${staticPath }/static/image/home_small.png') no-repeat 0 0;
			background-position: -128px 0px;
		}
		.icon-rc-csfw{
			background:url('${staticPath }/static/image/home_small.png') no-repeat 0 0;
			background-position: -144px 0px;
		}
		.icon-rc-rjfw{
			background:url('${staticPath }/static/image/home_small.png') no-repeat 0 0;
			background-position: -160px 0px;
		}
		.icon-rc-zc1{
			background:url('${staticPath }/static/image/home_small.png') no-repeat 0 0;
			background-position: -176px 0px;
		}
		.icon-rc-sz{
			background:url('${staticPath }/static/image/home_small.png') no-repeat 0 0;
			background-position: -176px 0px;
		}
		.icon-rc-gb{
			background:url('${staticPath }/static/image/home_small.png') no-repeat 0 0;
			background-position: -192px 0px;
		}
		.icon-rc-lsxd{
			background:url('${staticPath }/static/image/home_small.png') no-repeat 0 0;
			background-position: -208px 0px;
		}
		.icon-rc-gk{
			background:url('${staticPath }/static/image/home_small.png') no-repeat 0 0;
			background-position: -224px 0px;
		}
		.icon-rc-dk{
			background:url('${staticPath }/static/image/home_small.png') no-repeat 0 0;
			background-position: -240px 0px;
		}
		.layout-panel-west .panel-tool{
			display: none
		}
		.layout-panel-east .panel-tool{
			display: none
		}
		
	</style>
</head>
<body>
    <div id="loading" style="position: fixed;top: -50%;left: -50%;width: 200%;height: 200%;background: #fff;z-index: 100;overflow: hidden;">
        <img src="${staticPath }/static/style/images/ajax-loader.gif" style="position: absolute;top: 0;left: 0;right: 0;bottom: 0;margin: auto;"/>
    </div>
    <div id="mainLayout" class="easyui-layout" data-options="fit:true, border:false">
      <%--   <div data-options="region:'north',border:false, collapsedSize:0" style="height:50px;">
            <div class="head">
                <table>
                    <tr>
                        <td width="50%" style="font-size: 14px;">上海市用电力负荷管理系统</td>
                        <td width="50%" align="right" style="font-size: 12px;">
                            <div class="easyui-panel rtool" data-options="border:false" style="text-align: right; background: #09C; color: white; margin-top: -1px;">
                                <a href="#" class="easyui-menubutton" data-options="menu:'#mm1'">
                                    <shiro:principal></shiro:principal>
                                </a>
                            </div>
                            <div id="mm1" style="width:150px;">
                                <div data-options="iconCls:'glyphicon-pencil'" onclick='editUserPwd()'>修改密码</div>
                                <div class="menu-sep"></div>
                                <div data-options="iconCls:'glyphicon-log-out'" onclick="logout()">退出</div>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </div> --%>
        <div id="west" class="scrollbar" data-options="region:'west',split:true, border:false, collapsedSize:0" style="width:200px;background-color: #424f63;color:white">
            <div class="west_menu">
                <div class="menu_head">菜单导航</div>
                <ul id="layout_west_tree" class="easyui-tree"></ul>
            </div>
        </div>
        <div data-options="region:'center', border:false">
            <div id="mainTabs" style="height:250px">
                <div title="首页" data-options="iconCls:'glyphicon-home',border:false">
                </div>
            </div>
        </div>
        
        
        <div class="easyui-layout" style="width:100%;height:85%;">
		<div  id = "menu" data-options="region:'north'" style="height:157px">
				<%@ include file="jsp/menu.jsp" %>
		</div>
		<div data-options="region:'east',split:true" title="对象属性" style="width:200px;">
			<%@ include file="jsp/east.jsp" %>
		</div>
		<div  id = "west" data-options="region:'west',split:true" title="系统管理" style="width:200px;">
			<%@ include  file="jsp/west.jsp" %>
		</div>
		<div  id ="content_center2"  data-options="region:'center',title:'表单',iconCls:''">
				<%@ include file="jsp/content.jsp" %>
		</div>		
	</div>
	<div id="dlg" class="easyui-dialog" title="提示内容" data-options="iconCls:'icon-save'" style="width:400px;height:200px;padding:10px">
		<%@ include file="jsp/xd_dlg.jsp" %>
		<%@ include file="jsp/gk_dlg.jsp" %>
		<%@ include file="jsp/dk_dlg.jsp" %>
		<%@ include file="jsp/dlg.jsp" %>
		
	</div>
	
        
        
        
    </div>
    <div id="tabsMenu">
        <div data-options="iconCls:'glyphicon-refresh'" type="refresh" style="font-size: 12px;">刷新</div>
        <div class="menu-sep"></div>
        <div data-options="iconCls:'glyphicon-remove'" type="close" style="font-size: 12px;">关闭</div>
        <div data-options="iconCls:''" type="closeOther">关闭其他</div>
        <div data-options="iconCls:''" type="closeAll">关闭所有</div>
    </div>
   <!--  <div id="tabTools" style="border: 0px; border-bottom: 1px solid #D3D3D3;">
        <a href="###" class="easyui-linkbutton" plain="true" iconCls="glyphicon-home" onclick="toHome()"></a>
        <a href="###" class="easyui-linkbutton" plain="true" iconCls="glyphicon-refresh" onclick="refreshTab()"></a>
        <a href="###" class="easyui-linkbutton" plain="true" iconCls="glyphicon-remove" onclick="closeTab()"></a>
        <a id="fullScreen" href="###" class="easyui-linkbutton" plain="true" iconCls="glyphicon-fullscreen" onclick="fullScreen()"></a>
    </div> -->
    <!--[if lte IE 7]>
    <div id="ie6-warning"><p>您正在使用 低版本浏览器，在本页面可能会导致部分功能无法使用。建议您升级到 <a href="http://www.microsoft.com/china/windows/internet-explorer/" target="_blank">Internet Explorer 8</a> 或以下浏览器：
    <a href="http://www.mozillaonline.com/" target="_blank">Firefox</a> / <a href="http://www.google.com/chrome/?hl=zh-CN" target="_blank">Chrome</a> / <a href="http://www.apple.com.cn/safari/" target="_blank">Safari</a> / <a href="http://www.operachina.com/" target="_blank">Opera</a></p></div>
    <![endif]-->
    <style>
        /*ie6提示*/
        #ie6-warning{width:100%;position:absolute;top:0;left:0;background:#fae692;padding:5px 0;font-size:12px}
        #ie6-warning p{width:960px;margin:0 auto;}
    </style>
</body>

<script type="text/javascript">
	function titleChange(title){
		var index = 0;
		if(title == "日常工作"){
			  index=2;
		}else if(title == "系统管理"){
			 index=1;
			
		}else if(title == "任务管理"){
			index=3
			
		}else{
			index=4;
			
		}
		content(index);
		westchange(index);
	}
	$(function(){
		 $('#dlg').dialog('close')
		 setTop(143,600);
	})
</script>
</html>